﻿using System;
using System.Collections.Generic;

namespace YummyGame.Framework
{
    public abstract class ExpressionOperation:Expression
    {
        protected Expression exp1;
        protected Expression exp2;
        public ExpressionOperation(Expression exp1,Expression exp2)
        {
            this.exp1 = exp1;
            this.exp2 = exp2;
        }

        public override void RebindContext(ExpressionContext context)
        {
            exp1.RebindContext(context);
            exp2.RebindContext(context);
        }
    }
}
